#   *
#  ***
# *****
#  ***
#   *
num = 3
#for i in range(1,6,2):
 #   print(i,end= '')

#for i in range(1,3+1):
#   for j in range(3-1,0,-1):
#      print("",end="")
#     for k in range(1,2*3,2):
#        print("*",end="")
#       print()

hang = 7
for i in range(1,2*((hang-1)//2+1),2):
    print(("*"*i).center(hang))
for i in range(2*((hang-1)//2),0,-2):
    print(("*"*i).center(hang))

